<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$name}-{$site_seo_title}</title>
 <meta name="author" content="imd-1402-周洁" />
  <meta name="keywords" content="{$site_seo_keywords}" />
  <meta name="description" content="{$site_seo_description}" />
<tc_include file="Public:head"/>

</head>
<body>
<tc_include file="Public:header"/>

<div class="inner">
    <div class="dh_col_3 pape_left">
       
        <tc_include file="Public:nav_left_top"/>
        <tc_include file="Public:service"/>
  
    </div>
     <php>$oid= $_GET['oid'];</php>
    <div class="dh_col_4">
        <div class="pape_title">
              <span>{$name}</span>
              <ol class="breadcrumb" >
                  <li><a href="__ROOT__/">首页</a></li>
                  <li><a href="{$nav_p.href}&pid={$pid}">{$nav_p.label}</a></li>
                  <li><a href="{:leuu('portal/list/index',array('id'=>$term_id,'pid'=>$pid,'oid'=>$oid))}">{$name}</a></li>
              </ol>
        </div>
        <div class="met_module2_list">
			        <php>
			            	$lists = sp_sql_posts_paged("cid:$cat_id;order:post_date DESC;",4);
			        </php>
					<ul>
						<foreach name="lists['posts']" item="vo"> 
							<php>
						    $smeta=json_decode($vo['smeta'],true);/* 把smeta转化成数组 */
						    </php>
							
							<li class="list_3">
								<a href="{:leuu('article/index',array('id'=>$vo['tid'],'pid'=>$pid,'oid'=>$oid))}" title="{$vo.post_title}" target=""><img src="{:sp_get_asset_upload_path($smeta['thumb'])}"/></a>
								<h2><a href="{:leuu('article/index',array('id'=>$vo['tid'],'pid'=>$pid,'oid'=>$oid))}" title="{$vo.post_title}" target="">{$vo.post_title}</a></h2>
								<p>{$vo.post_excerpt}</p>
								<span class="time">{$vo.post_date}</span>
							</li>
						</foreach>
		
		 
					</ul>
			
		           	<div class="met_pager">
						<ul>
						{$lists.page}
						</ul>
					</div>
		
		</div>		
            <Div class="clear"></Div>
        
    </div>
</div>

    <div class="clear"></div>
	<tc_include file="Public:footer"/>
	<tc_include file="Public:scripts"/>
</body>
</html>
